Texture Flags Masks
Theflags
parameter for theQATextureNew
function specifies a texture mode, which determines certain features of the new texture map. You can use these masks to set theflags
parameter.
#define kQATexture_None 0 #define kQATexture_Lock (1 << 0) #define kQATexture_Mipmap (1 << 1) #define kQATexture_NoCompression (1 << 2) #define kQATexture_HighCompression (1 << 3)Constant descriptions
kQATexture_None
- Pass this value for no texture features.
kQATexture_Lock
- The new texture map should remain locked in memory and not be swapped out. You should set this flag for texture maps that are heavily used during rendering. Note, however, that this flag is usually ignored by software-based drawing engines.
kQATexture_Mipmap
- The new texture map is mipmapped.
kQATexture_NoCompression
- The new texture map should not be compressed.
kQATexture_HighCompression
- The new texture map should be compressed (even if doing so takes a considerable amount of time).